TOConline\WP\Plugin\TOCWoo\WooCommerce\InvoiceHandler S

Total Complexity 40
Dependencies 9
Dependents 1
Total lines 363
Lines of code 169
Logical lines of code 103
Comment lines 129
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
insert_invoice()
C
31 23 110
can_insert()
S
62 6 11
save_error_msg()
S
63 2 11
get_tax_exemption_reason_id()
S
79 1 3
get_series_id()
S
79 1 3
upsert_customer()
S
75 1 4
get_last_response()
S
81 1 3
upsert_item()
S
75 1 4
get_tax_id()
S
79 1 3
get_document_origin()
S
80 1 3
send_email()
S
74 1 4
save_toconline_data()
S
63 1 10